package com.carkeeper.userOrder.dao;

import com.carkeeper.order.pojo.Order;
import com.carkeeper.pojo.CarBill;
import org.apache.ibatis.annotations.Select;
import tk.mybatis.mapper.common.Mapper;

/**
 * @author zhangmingxin
 * @version 1.0
 * @date 2020/11/27 1:01
 */
public interface CarBillDao extends Mapper<CarBill> {
    //根据订单id查询订单
    @Select("select * from tb_order where id=#{orderId}")
    Order findByOrderId(Long orderId);
}
